dab841de216df33ebaad67d4c22fae7678c0f95c,src/edu/stanford/nlp/ie/machinereading/structure/EntityMention.java,EntityMention,equals,#EntityMention#boolean#,125
Before Change
// have the same head span, the same type/subtype, and the same text.
// We need this for scoring NER, and in various places in KBP
//
if(sentence == otherEnt.sentence && textEquals(otherEnt) && labelEquals(otherEnt, useSubType)){
return true;
}
/*
After Change
// have the same head span, the same type/subtype, and the same text.
// We need this for scoring NER, and in various places in KBP
//
if((sentence == otherEnt.sentence || sentence.equals(otherEnt.sentence)) && textEquals(otherEnt) && labelEquals(otherEnt, useSubType)){
return true;
}
/*